/* 
    Document   : service
    Created on : Jan 19, 2013, 4:32:37 PM
    Author     : TuanAnh
    Description:
        Purpose of the stylesheet follows.
*/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
    margin:0;
    padding:0;
}
html,body {
    margin:0;
    padding:0;
    height: 100%;
}

h1,h2,h3,h4,h5,h6 {
    font-size:100%;
    font-weight: normal;
}

section, header{
    display: block;
}
/* General Demo Style */
body{
    font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
    background: #fff url(../images/bg.jpg) repeat top left;
    font-weight: 400;
    font-size: 15px;
    color: #391b27;
    overflow-y: scroll;
    overflow-x: hidden;
}
a{
    color: #333;
    text-decoration: none;
}
.container{
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
}
.clr{
    clear: both;
}
.container > header{
    padding: 20px 30px 10px 30px;
    margin: 0px 20px 10px 20px;
    position: relative;
    display: block;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    text-align: center;
}
.container > header h1{
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    font-size: 60px;
    line-height: 35px;
    position: relative;
    font-weight: 400;
    color: #7c00ef;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    padding: 0px 0px 5px 0px;
}

.cn-container{
    width: 60%;
    min-width: 300px;
    max-width: 820px;
    margin: 10px auto 0 auto;
    text-align: left;
    position: relative;
}
.cn-container h2{
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    color: #fff;
    position: absolute;
    z-index: 1000;
    text-shadow: 0 0 1px rgba(255,255,255,0.8), 1px 1px 1px rgba(0,0,0,0.2);
    font-size: 80px;
    line-height: 80px;
    top: 0px;
    right: 200px;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 0.3s linear 0.4s;
    -moz-transition: all 0.3s linear 0.4s;
    transition: all 0.3s linear 0.4s;
}
.cn-container .cn-slide:target h2{
    right: 0px;
    opacity: 1;
}
.cn-slide{
    text-align: center;
    position: absolute;
    left: -100%;
    padding-top: 80px;
    margin: 0 5%;
    width: 90%;
    opacity: 0;
    -webkit-transition: left 0.4s linear, opacity 0.4s linear;
    -moz-transition: left 0.4s linear, opacity 0.4s linear;
    transition: left 0.4s linear, opacity 0.4s linear;
}
.cn-slide:target{
    left: 0px;
    opacity: 1;
}
.cn-slide nav a{
    text-align: left;
    display: block;
    font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
    border: 8px solid #fff;
    padding: 2%;
    font-size: 66px;
    letter-spacing: 7px;
    text-shadow: 0px 0px 10px rgba(255,255,255,0.9);
    color: #6b5112;
    line-height: 66px;
    margin: 0 0 10px 0;
    outline: none;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    background: #fff url(../images/32.jpg) no-repeat center center;
    -webkit-background-size: 100%; -moz-background-size: 100%; -o-background-size: 100%; background-size: 100%; 
    background-clip: padding-box;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.cn-slide nav a:hover{
    box-shadow: 1px 3px 7px rgba(0,0,0,0.25);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
    color: rgba(255,255,255,0.9);
}
.cn-slide-sub nav a{
    width: 42%;
    display: inline-block;
    font-size: 40px;
}
.cn-slide-sub nav a:nth-child(odd){
    margin-right: 5px;
}
/* Main Items */
.cn-slide nav a[href="#slide-1"]{
    background-image: url(../images/25.jpg);
}
.cn-slide nav a[href="#slide-2"]{
    background-image: url(../images/42.jpg);
}
/* Items and sub-items of slide 1*/
.cn-slide nav a[href="#slide-1-1"],
#slide-1-1 .cn-content {
    background-image: url(../images/32.jpg);
}
.cn-slide nav a[href="#slide-1-2"],
#slide-1-2 .cn-content {
    background-image: url(../images/33.jpg);
}
.cn-slide nav a[href="#slide-1-3"],
#slide-1-3 .cn-content {
    background-image: url(../images/34.jpg);
}
.cn-slide nav a[href="#slide-1-4"],
#slide-1-4 .cn-content {
    background-image: url(../images/35.jpg);
}

/* Items and sub-items of slide 2*/
.cn-slide nav a[href="#slide-2-1"],
#slide-2-1 .cn-content {
    background-image: url(../images/41.jpg);
}
.cn-slide nav a[href="#slide-2-2"],
#slide-2-2 .cn-content {
    background-image: url(../images/42.jpg);
}
.cn-slide nav a[href="#slide-2-3"],
#slide-2-3 .cn-content {
    background-image: url(../images/43.jpg);
}
.cn-slide nav a[href="#slide-2-4"],
#slide-2-4 .cn-content {
    background-image: url(../images/44.jpg);
}


.cn-content{
    background: #80B8CE url(../images/1.jpg) no-repeat center center;
    -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; 
    text-align: left;
    padding: 20px 20px 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    border: 8px solid #fff;
    margin-top: 5px;
    cursor: pointer;
}
.cn-content:active p{
    opacity: 0;
}
.cn-content p{
    line-height: 24px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.9);
    color: rgba(103,59,77,0.9);
    padding: 15px 20px;
    margin-bottom: 10px;
    background: rgba(255,255,255,0.96);
    font-style: italic;
    border-top: 7px solid rgba(103,59,77,0.6);
    -webkit-transition: opacity 0.3s linear;
    -moz-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
.cn-back{
    outline: none;
    text-indent: -9000px;
    width: 49px;
    height: 42px;
    background: transparent url(../images/arrow.png) no-repeat center center;
    position: absolute;
    top: 22px;
    left: -100px;
    cursor: pointer;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0.5s;
    -moz-transition: all 0.4s ease-in-out 0.5s;
    transition: all 0.4s ease-in-out 0.5s;
}
.cn-slide:target .cn-back{
    left: 3px;
    opacity: 1;
}
